package com.doraro.coal.moudle.purch.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.doraro.coal.moudle.purch.enums.PermitStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 燃料采购计划申请单
 * </p>
 *
 * @author doraro
 * @since 2019-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_purch_apply")
@ApiModel(value="PurchApply对象", description="燃料采购计划申请单")
public class PurchApply implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "申请单uuid")
    @TableId(type = IdType.UUID)
    private String purchApplyId;

    @ApiModelProperty(value = "申请人")
    private String createUser;

    @ApiModelProperty(value = "申请人单位")
    private String createUserOrg;

    @ApiModelProperty(value = "申请人日期")
    @TableField(fill = FieldFill.INSERT)
    private LocalDate createDate;

    @ApiModelProperty(value = "申请人id")
    private Long createUserId;

    @ApiModelProperty(value = "审核状态(0-草稿 1-审核中 2-已驳回 3-已发布)")
    private PermitStatus permitStatus;

    @ApiModelProperty(value = "单据编号")
    private String billNumber;

    @ApiModelProperty(value = "报价截止日期")
    private LocalDate bjEnd;

    @ApiModelProperty(value = "签发人名字")
    private String writerName;

    @ApiModelProperty(value = "开始交货时间")
    private LocalDate jhtime;

    @ApiModelProperty(value = "截止交货时间")
    private LocalDate jhtimeEnd;

    @ApiModelProperty(value = "煤种")
    private String coalType;

    @ApiModelProperty(value = "煤样")
    private String coalClass;

    @ApiModelProperty(value = "采购数量")
    private BigDecimal purchaseNum;

    @ApiModelProperty(value = "运输方式")
    private String yunshuMode;

    @ApiModelProperty(value = "交货地点")
    private String jiaohuoLocation;

    @ApiModelProperty(value = "验收方式")
    private String yanshouMode;

    @ApiModelProperty(value = "结算方式")
    private String jiesuanMode;

    @ApiModelProperty(value = "最高限价")
    private String maxLimitPrice;

    @ApiModelProperty(value = "最低限价")
    private String minLimitPrice;

    @ApiModelProperty(value = "最高限价说明")
    private String maxRemark;

    @ApiModelProperty(value = "尾款结算方式")
    private String paymode;

    @ApiModelProperty(value = "报价保证金缴纳要求（0不要求，1要求）")
    private Integer isQuotebond;

    @ApiModelProperty(value = "报价保证金单价（元/吨）")
    private BigDecimal quotebondNumber;

    @ApiModelProperty(value = "履约保证金缴纳要求（0不要求，1要求）")
    private Integer isPerformbond;

    @ApiModelProperty(value = "履约保证金单价（元/吨）")
    private BigDecimal performbondNumber;

    @ApiModelProperty(value = "保证金要求")
    private String boneRemark;

    @ApiModelProperty(value = "收到基-低位发热量")
    private String rec1;

    @ApiModelProperty(value = "收到基-全硫")
    private String rec2;

    @ApiModelProperty(value = "收到基-全水分")
    private String rec3;

    @ApiModelProperty(value = "收到基-全灰分")
    private String rec4;

    @ApiModelProperty(value = "收到基-挥发分(小)")
    private String rec51;

    @ApiModelProperty(value = "收到基-挥发分(大)")
    private String rec52;

    @ApiModelProperty(value = "空干基-水分")
    private String kgj1;

    @ApiModelProperty(value = "空干基-全硫")
    private String kgj2;

    @ApiModelProperty(value = "空干基-挥发分(小)")
    private String kgj31;

    @ApiModelProperty(value = "空干基-挥发分(大)")
    private String kgj32;

    @ApiModelProperty(value = "干基-高位发热量")
    private String dry1;

    @ApiModelProperty(value = "干基-全硫 ")
    private String dry2;

    @ApiModelProperty(value = "干基-干燥无灰基挥发分(小)")
    private String dry31;

    @ApiModelProperty(value = "干基-干燥无灰基挥发分(大)")
    private String dry32;

    @ApiModelProperty(value = "干基-粒度")
    private String dry4;

    @ApiModelProperty(value = "干基-灰熔点")
    private String dry5;

    @ApiModelProperty(value = "干基-哈式可磨系数")
    private String dry6;

    @ApiModelProperty(value = "干基-备注")
    private String dry7;


}
